import styled from 'styled-components'

export const WriterWrapper = styled.div`
  width: 278px;
  height: 300px;
`

export const WriterHeader = styled.div`
  width: 100%;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  font-size: 14px;
  color: #969696;
  padding: 0 10px;
  box-sizing: border-box;
  .title {
    float: left;
  }
  .iconfont {
    float: right;
    font-size: 14px;
    cursor: pointer;
  }
`

export const WriterContent = styled.div`
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
`

export const WriterItem = styled.div`
  width: 100%;
  margin-top: 12px;
  overflow: hidden;
`

export const WriterImg = styled.div`
  float: left;
  .img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }
`

export const WriterInfo = styled.div`
  float: left;
  padding-left: 10px;
  font-size: 14px;
  .top {
    margin: 8px 0;
    overflow: hidden;
    .name {
      float: left;
      color: #2f2f2f;
    }
    .action {
      float: right;
      color: #42c02e;
    }
  }
  .bottom {
    color: #969696;
    font-size: 12px;
  }
`
